{include 'common/header.html'}
<body>
<header>
<ul>
<li><a href="{$this->urlCreate('admin','index')}" style="z-index: 50;">管理主页</a></li>
<li><a href="#" style="z-index: 49;">系统配置</a></li>
</ul>
</header>
<div id="main">
<h1 style="text-align: center;">系统配置</h1>
<form action="" method="post">
<label for="title">首页标题</label>
<input type="text" id="title" name="title" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['title']}" />
<label for="name">网站名称</label>
<input type="text" id="name" name="name" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['name']}" />
<label for="url">站点网址(带http://)</label>
<input type="text" id="url" name="url" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['url']}" />
<label for="desc">站点描述(SEO)</label>
<input type="text" id="desc" name="desc" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['desc']}" />
<label for="keywd">关键字(SEO)</label>
<input type="text" id="keywd" name="keywd" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['keywd']}" />
<label for="vip">VIP价格</label>
<input type="text" id="vip" name="vip" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['vip']}" />
<label for="uppre">允许上传的文件类型(使用英文分号分割)</label>
<input type="text" id="uppre" name="uppre" style="margin: 1em;display: block;width: 90%;height: 24px;padding-left: 3px;" value="{$config['upload_prefix']}" />
<span style="margin: 3px 1em 3px 0;color: red;font-size: 0.6em;">如果不做修改就提交，会报错。</span>
<input type="submit" name="submit" value="提交" style="margin: 1em;display: block;width: 64px;height: 24px;margin-left: 3em;" />
</form>
</div>

{include 'common/footer.html'}
</body>
</html>